namespace Admin2505.Domain.Entityes;

public abstract class EntityBase{
    public Guid Id {get;set;}//int log guid(uuid)

    public string? Code{get;set;}//权限中的code值形式设计如下：Oreder.Craete , Order.Delete

    public bool IsActived {get;set;} =true;

    public bool IsDelete {get;set;} =false;

    public DateTime CreatedAt {get;set;}=DateTime.UtcNow;
    public DateTime UpdatedAt {get;set;}=DateTime.UtcNow;

    public Guid CreatedBy {get;set;} = Guid.Empty;
    public Guid UpdatedBy {get;set;} =Guid.Empty;
    public int DisplayOrder {get;set;}
    public string? Remarks{get;set;}
}